vitalsFacade
Class BMIAttribute

java.lang.Object
  extended byvitalsFacade.MeasurementAttribute
      extended byvitalsFacade.BMIAttribute
All Implemented Interfaces:
vitalsFacade.FacadeAttribute

public class BMIAttribute
extends vitalsFacade.MeasurementAttribute
implements vitalsFacade.FacadeAttribute

BMIAttribute Represents a patient's body mass index.

Version:
2004-09-10
Author:
Sascha Hemminger

Method Summary
 void calculate(java.lang.String newHeight, java.lang.String newWeight)
          Calculates the body mass index from the patient's height and weight.
 void load()
          Load a particular attribute.
 void save()
          Save a particular attribute.
 void value(java.lang.String newValue)
          Just to assure no one sets a new Value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

calculate

public void calculate(java.lang.String newHeight,
                      java.lang.String newWeight)
Calculates the body mass index from the patient's height and weight.

Parameters:
newHeight - patient's height in inches
newWeight - patient's weight in pounds

value

public void value(java.lang.String newValue)
Just to assure no one sets a new Value.

Parameters:
newValue - newValue

load

public void load()
Load a particular attribute.


save

public void save()
Save a particular attribute.